package cn.copera.dyy.entity;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import cn.copera.dyy.common.persistence.IdEntity;

/**
 * 客户端关注
 * 
 * @author Administrator
 * 
 */
@Entity
@Table(name = "ka_customer")
@DynamicInsert
@DynamicUpdate
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class Customer extends IdEntity<Customer> {
	private static final long serialVersionUID = 1L;
	private String operId;// 微信operid
	private Date noticeDate;// 关注时间

	public String getOperId() {
		return operId;
	}

	public void setOperId(String operId) {
		this.operId = operId;
	}

	public Date getNoticeDate() {
		return noticeDate;
	}

	public void setNoticeDate(Date noticeDate) {
		this.noticeDate = noticeDate;
	}

}
